function foo(n){for(var L_Error_Text="now is the time",t=0;t<n.length;++t)!n[t]&&L_Error_Text&&bar(function(){alert(L_Error_Text)})}